package
{
	
	import flash.events.MouseEvent;
	import flash.display.*;
	
	public class ScreenInstructions extends Screen
	{
		
		private var skin:mcScreenInstructionsSkin;
		
		public function ScreenInstructions()
		{
			
			super();
			
		}
		
		override public function init():void
		{
			
			destroy();
			skin = mcScreenInstructionsSkin();
			addChild(skin);
			skin.btnBackHome.addEventListener(MouseEvent.CLICK, btnBackHome);
			
		}
		
		private function btnBackHome(e:MouseEvent):void
		{
			
			gotoAndStop("Home");
			
		}
		
		override public function destroy():void
		{
			
			trace("kill.destroy");
			removeChild(skin);
			skin = null;
			
		}
	}